/**
 * Copyright (C) 2017 - 2020 https://github.com/joewee
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bifrost.model;

import javax.validation.constraints.Min;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 安装服务模型
 *
 * @author joewee
 * @version 1.0.0
 * @Date 2017/11/12 17:24
 */
public class ServiceModel {
    private Long serviceId, merchantStore;
    private String serviceName, description, MerchantStoreName;
    @Min(value = 1, message = "数量不满足条件")
    private Integer quantity;
    private BigDecimal servicePrice;

    public ServiceModel(Long serviceId, Long merchantStore, String serviceName, String description, String merchantStoreName, Integer quantity, BigDecimal servicePrice) {
        this.serviceId = serviceId;
        this.merchantStore = merchantStore;
        this.serviceName = serviceName;
        this.description = description;
        MerchantStoreName = merchantStoreName;
        this.quantity = quantity;
        this.servicePrice = servicePrice;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public Long getMerchantStore() {
        return merchantStore;
    }

    public void setMerchantStore(Long merchantStore) {
        this.merchantStore = merchantStore;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getMerchantStoreName() {
        return MerchantStoreName;
    }

    public void setMerchantStoreName(String merchantStoreName) {
        MerchantStoreName = merchantStoreName;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(BigDecimal servicePrice) {
        this.servicePrice = servicePrice;
    }
}
